import { getAction, deleteAction, putAction, postAction, httpAction, downFile, downFilePost } from '@/api/manage'
const serviceName = '/fz-fengdu-police'
const serviceName1 = '/fz-fengdu-flow'

//解封验证策略
//策略列表
const pageNew = (params)=>postAction(`${serviceName}/unsealVarifiStart/pageNew`,params);
//添加
const addUnsealVarifiStart = (params)=>postAction(`${serviceName}/unsealVarifiStart/addUnsealVarifiStart`,params);
//删除
const delUnsealVarifiStart = (params)=>postAction(`${serviceName}/unsealVarifiStart/delUnsealVarifiStart`,params);
//修改
const modifyUnsealVarifiStart = (params)=>postAction(`${serviceName}/unsealVarifiStart/modifyUnsealVarifiStart`,params);
//详情
const ViewDetailsUnsealVarifiStart = (params)=>postAction(`${serviceName}/unsealVarifiStart/ViewDetailsUnsealVarifiStart`,params);


//封堵推送策略
//查询
const pageBlockingAutoPush = (params)=>postAction(`${serviceName}/blockingAutoPush/pageBlockingAutoPush`,params);
//添加
const saveBlockingAutoPush = (params)=>postAction(`${serviceName}/blockingAutoPush/saveBlockingAutoPush`,params);
//删除
const delBlockingAutoPush = (params)=>postAction(`${serviceName}/blockingAutoPush/delBlockingAutoPush`,params);
//编辑
const modifyBlockingAutoPush = (params)=>postAction(`${serviceName}/blockingAutoPush/modifyBlockingAutoPush`,params);
//详情
const findByIdBlockingAutoPush = (params)=>postAction(`${serviceName}/blockingAutoPush/findByIdBlockingAutoPush`,params);


//封堵验证策略
//查询
const pageBlockingAutoRandom = (params)=>postAction(`${serviceName}/blockingAutoRandom/pageBlockingAutoRandom`,params);
//添加
const saveBlockingAutoRandom = (params)=>postAction(`${serviceName}/blockingAutoRandom/saveBlockingAutoRandom`,params);
//删除
const delBlockingAutoRandom = (params)=>postAction(`${serviceName}/blockingAutoRandom/delBlockingAutoRandom`,params);
//编辑
const modifyBlockingAutoRandom = (params)=>postAction(`${serviceName}/blockingAutoRandom/modifyBlockingAutoRandom`,params);
//详情
const findByIdBlockingAutoRandom = (params)=>postAction(`${serviceName}/blockingAutoRandom/findByIdBlockingAutoRandom`,params);


//解封(手工)
//查询
const pageNew1 = (params)=>postAction(`${serviceName}/unsealExtraction/pageNew`,params);
//详情
const ViewDetailsUnsealExtraction = (params)=>postAction(`${serviceName}/unsealExtraction/ViewDetailsUnsealExtraction`,params);
//验证
const verification = (params)=>postAction(`${serviceName}/unsealExtraction/verification`,params);
//添加及编辑
const modifyUnsealExtraction = (params)=>postAction(`${serviceName}/unsealExtraction/modifyUnsealExtraction`,params);
//抽取
const unpackingVerification = (params)=>postAction(`${serviceName}/unsealExtraction/unpackingVerification`,params);


//封堵推送手工
//查询
const pageBlockingHandPush = (params)=>postAction(`${serviceName}/blockingHandPush/pageBlockingHandPush`,params);
//新增
const addBlockingHandPush = (params)=>postAction(`${serviceName}/blockingHandPush/addBlockingHandPush`,params);
//抽取
const extractionBlockingHandPush = (params)=>postAction(`${serviceName}/blockingHandPush/extractionBlockingHandPush`,params);
//详情
const findByIdBlockingHandPush = (params)=>postAction(`${serviceName}/blockingHandPush/findByIdBlockingHandPush`,params);
//推送
const modifyBlockingHandPush = (params)=>postAction(`${serviceName}/blockingHandPush/modifyBlockingHandPush`,params);


//验证(手工)
//查询
const pageBlockingHandRandom = (params)=>postAction(`${serviceName}/blockingHandRandom/pageBlockingHandRandom`,params);
//详情
const findByIdBlockingHandRandom = (params)=>postAction(`${serviceName}/blockingHandRandom/findByIdBlockingHandRandom`,params);
//验证
const modifyBlockingHandRandom = (params)=>postAction(`${serviceName}/blockingHandRandom/modifyBlockingHandRandom`,params);
//添加及编辑
const addBlockingHandRandom = (params)=>postAction(`${serviceName}/blockingHandRandom/addBlockingHandRandom`,params);
//抽取
const extractionBlockingHandRandom = (params)=>postAction(`${serviceName}/blockingHandRandom/extractionBlockingHandRandom`,params);


//封堵速报
//查询
const pageBlockingQuickReport = (params)=>postAction(`${serviceName}/blockingQuickReport/pageBlockingQuickReport`,params);
//导出
const exportBlockingQuickReport = (params)=>downFilePost(`${serviceName}/blockingQuickReport/exportBlockingQuickReport`,params);


//封堵白名单
//查询
const pageBlockingWhiteList = (params)=>postAction(`${serviceName}/blockingWhiteList/pageBlockingWhiteList`,params);
//新增
const saveBlockingWhiteList = (params)=>postAction(`${serviceName}/blockingWhiteList/saveBlockingWhiteList`,params);
//导入
const importBlockingWhiteList = (params)=>postAction(`${serviceName}/blockingWhiteList/importBlockingWhiteList`,params);
//下载
const exportBlockingWhiteList = (params)=>downFilePost(`${serviceName}/blockingWhiteList/exportBlockingWhiteList`,params);
//删除
const delBlockingWhiteList = (params)=>postAction(`${serviceName}/blockingWhiteList/delBlockingWhiteList`,params);


//涉诈网址上报
//查询
const pageBlockingWebsiteReport = (params)=>postAction(`${serviceName}/blockingWebsiteReport/pageBlockingWebsiteReport`,params);
//保存和提交
const saveBlockingWebsiteReport = (params)=>postAction(`${serviceName}/blockingWebsiteReport/saveBlockingWebsiteReport`,params);
//详情
const findByIdBlockingWebsiteReport = (params)=>postAction(`${serviceName}/blockingWebsiteReport/findByIdBlockingWebsiteReport`,params);
//下载
const exportBlockingBlackList = (params)=>downFilePost(`${serviceName}/blockingWebsiteReport/exportBlockingBlackList`,params);
//删除
const delBlockingWebsiteReport = (params)=>postAction(`${serviceName}/blockingWebsiteReport/delBlockingWebsiteReport`,params);
//导入
const importBlockingBlackList = (params)=>postAction(`${serviceName}/blockingWebsiteReport/importBlockingBlackList`,params);


//数据治理
//查询
const getBlockingBusinessData = (params)=>getAction(`${serviceName}/blockingBusinessData/getBlockingBusinessData`,params);
//保存
const saveBlockingBusinessData = (params)=>postAction(`${serviceName}/blockingBusinessData/saveBlockingBusinessData`,params);


//分析报告
//查询
const pageNewAnalysisReport = (params)=>postAction(`${serviceName}/analysisReport/pageNewAnalysisReport`,params);


//误封堵申诉
//查询
const getProcessInfoList = (params)=>postAction(`${serviceName1}/processApproval/getProcessInfoList`,params);
//详情
// const misblockComplaintDetails = (params)=>postAction(`${serviceName}/misblockComplaint/misblockComplaintDetails`,params);
const getApprovalInfo = (params)=>getAction(`${serviceName1}/processApproval/getApprovalInfo/${params}`);
//审批
const approval = (params)=>putAction(`${serviceName1}/processApproval/approval`,params);


//日志
//解封验证日志
const pageNewUnsealVailLog = (params)=>postAction(`${serviceName}/unsealVailLog/pageNewUnsealVailLog`,params);
//导出
const outUnsealVailLog = (params)=>downFilePost(`${serviceName}/unsealVailLog/outUnsealVailLog`,params);

//封堵反馈日志
//查询
const pageBlockingFeedbackLog = (params)=>postAction(`${serviceName}/blockingFeedbackLog/pageBlockingFeedbackLog`,params);
//导出
const exportBlockingFeedbackLog = (params)=>downFilePost(`${serviceName}/blockingFeedbackLog/exportBlockingFeedbackLog`,params);

//封堵推送日志
//查询
const pageBlockingPushLog = (params)=>postAction(`${serviceName}/blockingPushLog/pageBlockingPushLog`,params);
//导出
const exportBlockingPushLog = (params)=>downFilePost(`${serviceName}/blockingPushLog/exportBlockingPushLog`,params);

//封堵治理日志
//查询
const pageBlockingGovernanceLog = (params)=>postAction(`${serviceName}/blockingGovernanceLog/pageBlockingGovernanceLog`,params);
//导出
const exportBlockingGovernanceLog = (params)=>downFilePost(`${serviceName}/blockingGovernanceLog/exportBlockingGovernanceLog`,params);

//封堵验证日志
//查询
const pageBlockingRandomLog = (params)=>postAction(`${serviceName}/blockingRandomLog/pageBlockingRandomLog`,params);
//导出
const exportBlockingRandomLog = (params)=>downFilePost(`${serviceName}/blockingRandomLog/exportBlockingRandomLog`,params);



export{
    pageNew,
    pageNew1,
    addUnsealVarifiStart,
    delUnsealVarifiStart,
    modifyUnsealVarifiStart,
    ViewDetailsUnsealVarifiStart,
    pageNewUnsealVailLog,
    pageBlockingQuickReport,
    pageBlockingAutoPush,
    saveBlockingAutoPush,
    delBlockingAutoPush,
    modifyBlockingAutoPush,
    pageBlockingWhiteList,
    saveBlockingWhiteList,
    importBlockingWhiteList,
    exportBlockingWhiteList,
    delBlockingWhiteList,
    pageBlockingWebsiteReport,
    saveBlockingWebsiteReport,
    findByIdBlockingWebsiteReport,
    exportBlockingBlackList,
    delBlockingWebsiteReport,
    pageNewAnalysisReport,
    ViewDetailsUnsealExtraction,
    verification,
    modifyUnsealExtraction,
    unpackingVerification,
    exportBlockingQuickReport,
    saveBlockingBusinessData,
    getBlockingBusinessData,
    getProcessInfoList,
    getApprovalInfo,
    approval,
    pageBlockingHandPush,
    modifyBlockingHandPush,
    addBlockingHandPush,
    extractionBlockingHandPush,
    findByIdBlockingHandPush,
    importBlockingBlackList,
    pageBlockingFeedbackLog,
    exportBlockingFeedbackLog,
    pageBlockingPushLog,
    exportBlockingPushLog,
    pageBlockingGovernanceLog,
    exportBlockingGovernanceLog,
    pageBlockingRandomLog,
    exportBlockingRandomLog,
    pageBlockingAutoRandom,
    saveBlockingAutoRandom,
    delBlockingAutoRandom,
    modifyBlockingAutoRandom,
    pageBlockingHandRandom,
    findByIdBlockingHandRandom,
    modifyBlockingHandRandom,
    addBlockingHandRandom,
    extractionBlockingHandRandom,
    outUnsealVailLog,
    findByIdBlockingAutoPush,
    findByIdBlockingAutoRandom,
}